package com.fis.vaadin;

import com.fss.dictionary.DictionaryNode;
import com.vaadin.ui.Component;
import com.vaadin.ui.ComponentContainer;

public interface LayoutBuilder {

	ComponentContainer buildFormLayout(ComponentContainer form,
			VaadinFormData formData, DictionaryNode dictionaryNode)
			throws Exception;

	Component createPanelLayout(ComponentContainer form,
			VaadinFormData formData, DictionaryNode dictionaryNode)
			throws Exception;

	Component createControlLayout(ComponentContainer form,
			VaadinFormData formData, DictionaryNode dictionaryNode)
			throws Exception;

	Component createControlButtonLayout(ComponentContainer form,
			VaadinFormData formData, DictionaryNode dictionaryNode)
			throws Exception;

	Component createLabelLayout(ComponentContainer form,
			VaadinFormData formData, DictionaryNode dictionaryNode)
			throws Exception;

	Component createScrollLayout(ComponentContainer form,
			VaadinFormData formData, DictionaryNode dictionaryNode)
			throws Exception;

	Component createTableContainerLayout(ComponentContainer form,
			VaadinFormData formData, DictionaryNode dictionaryNode)
			throws Exception;

}
